<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>购物结算</title>
<link rel="stylesheet" type="text/css" href="<s:url value='/resources/css/shop/shoppingMain.css'/>" media="all" />
<script type="text/javascript" src="<s:url value='/resources/js/jquery/jquery-1.5.2.min.js'/>"></script> 
<script type="text/javascript">
var contextpath= "<%=request.getContextPath()%>";
$(function(){
	$(".guide").click(function(){
		var param="?placeid=<s:property value="#request.place.id" />";
		var url=contextpath+"/shop/intoIdcard.do"+param;
		$(".riframe").attr("src",url);
		$(".guide").hide();
		$(".guideSel").show();
		$(".shoppingSel").hide();
		$(".shopping").show();
	});
	$(".shopping").click(function(){
		$(".riframe").attr("src",'<s:url value="/shop/intoShoppingColor.do?placeid=%{#request.place.id}" />');
		$(".shopping").hide();
		$(".shoppingSel").show();
		$(".guideSel").hide();
		$(".guide").show();
	});
	
	$(".intoHome").click(function(){
		window.location.href=contextpath+"/shop/intoShop.do?placeid="+<s:property value="#request.place.id" />;
	});
});

//调用子页面添加身份证
function pushCard(idcard){
	$(".riframe").contents().find("#idcard").val(idcard);
	$(".riframe").contents().find("#intoGuideInfo").submit();
}
</script>
</head>
<body style="">
	<jsp:include page="/web/shop/topbottom/optop.jsp"></jsp:include>
	<div class="context">
		<div class="left">
			<div class="guideSel" style="display: none;">
				<div class="guideSel_icon"><img alt="" src="<s:url value="/resources/images/shop/guide/guide_icon.png" />"></div>
			</div>
			<div class="guide" >
				<div class="guide_icon"><img alt="" src="<s:url value="/resources/images/shop/shopping/guide_icon.png" />"></div>
				<div class="guideText">我是导游</div>
				<div class="clr"></div>
			</div>
			<div class="shopping" style="display: none;">
				<div class="shopping_icon"><img alt="" src="<s:url value="/resources/images/shop/guide/shopping_icon.png" />"></div>
				<div class="shoppingText">购物结算</div>
				<div class="clr"></div>
			</div>
			<div class="shoppingSel" >
				<div class="shoppingSel_icon"><img alt="" src="<s:url value="/resources/images/shop/shopping/shopping_icon.png" />"></div>
			</div>
			<div class="intoHome">
				<div class="homeIcon">
					<img alt="" src="<s:url value="/resources/images/shop/main/intoMain.png" />">
				</div>
				<div class="intoMainText">返回主界面</div>
				<div class="clr"></div>
			</div>
		</div>
		<div class="right">
			<iframe class="riframe" frameborder="0" src="<s:url value="/shop/intoShoppingColor.do?placeid=%{#request.place.id}" />"></iframe>
		</div>
		<div class="clr"></div>
	</div>
	<jsp:include page="/web/shop/topbottom/bottom.jsp"></jsp:include>
</body>
</html>